//
//  DianTaiInfoModel.m
//  ProJectB_1
//
//  Created by lanou3g on 16/8/15.
//  Copyright © 2016年 yangshukai. All rights reserved.
//

#import "DianTaiInfoModel.h"

@implementation DianTaiInfoModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

- (instancetype)init{
    self = [super init];
    if (self) {
        _playInfo = [[PlayViewModel alloc] init];
    }
    return self;
}
- (void)setValue:(id)value forKey:(NSString *)key{
    if ([key isEqualToString:@"playInfo"]) {
        [self.playInfo setValuesForKeysWithDictionary:value];
        self.title = self.playInfo.title;
    } else if ([key isEqualToString:@"title"]) {
        
    } else{
        [super setValue:value forKey:key];
        
    }
}

@end
